﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Microsoft.Practices.Unity;
using Skynet.C2SModule.Presenters.Animation;

namespace Skynet.C2SModule.Views.Animation
{
    /// <summary>
    /// Interaction logic for AnimationPage.xaml
    /// </summary>
    public partial class AnimationPage : Page
    {
        private AnimationPresenter _Presenter;        
        public AnimationPresenter Presenter
        {
            get { return _Presenter; }
            set
            {
                _Presenter = value;                
                this.DataContext = _Presenter;
            }
        }
        public AnimationPage()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, RoutedEventArgs e)
        {
            this.Presenter.nextstep();
        }
    }
}
